package top.chenyaohua.asm;

import java.util.List;

public class FieldMetadata {
    /**
     * 参数名
     */
    private String name;
    /**
     * 参数类型
     */
    private String type;
    /**
     * 参数上的注解
     */
    private List<AnnotationMetadata> annotations;

    public FieldMetadata (String name, String type) {
        this.name = name;
        this.type = type;
    }

    public String getName () {
        return name;
    }

    protected void setName (String name) {
        this.name = name;
    }

    public String getType () {
        return type;
    }

    protected void setType (String type) {
        this.type = type;
    }

    public List<AnnotationMetadata> getAnnotations () {
        return annotations;
    }

    protected void setAnnotations (List<AnnotationMetadata> annotations) {
        this.annotations = annotations;
    }
}
